import * as React from 'react';
import { Expander, ExpanderItem } from '@aws-amplify/ui-react';
import { ExpanderPropControls } from './ExpanderPropControls';
import { useExpanderProps } from './useExpanderProps';
import { Demo } from '@/components/Demo';
import { demoState } from '@/utils/demoState';
const propsToCode = (expanderProps) => {
  return (
    `
  
    Yes! It adheres to the WAI-ARIA design pattern.
  
  
    Of course! See the section on CSS Styling below.
  
  
    Most definitely!
  
`
  );
};
const defaultExpanderProps = {
  type: 'single',
  isCollapsible: false,
};
export const ExpanderDemo = () => {
  const expanderProps = useExpanderProps(
    demoState.get(Expander.displayName) || defaultExpanderProps
  );
  return (
    }
    >
      
        
          Yes! It adheres to the WAI-ARIA design pattern.
        
        
          Of course! See the section on CSS Styling below.
        
        
          Most definitely!
        
      
    
  );
};